﻿@model Great_Eggspectations.DAL.Product

<h4>Product</h4>
<hr />
<dl class="dl-horizontal">
    <dt>
        @Html.DisplayNameFor(model => model.Name)
    </dt>

    <dd>
        @Html.DisplayFor(model => model.Name)
    </dd>

    <dt>
        Unit Price @*todo: fix!*@
    </dt>

    <dd>
        @Model.UnitPrice.ToString("C")
    </dd>

    <dt>
        @Html.DisplayNameFor(model => model.Details)
    </dt>

    <dd>
        @Html.DisplayFor(model => model.Details)
    </dd>


    <dt>
        Tags
    </dt>

    <dd>
        <ul>
            @foreach (var tag in Model.CSVTags.Split(','))
            {
                <li>@tag</li>
            }
        </ul>
    </dd>
</dl>
